<p class="Paragraph">Note: Integrating a scanner requires a scanner driver compatible with your operating system. Currently, <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> supports the integration of TWAIN drivers under Windows and SANE drivers under Unix. The method for integrating commands into a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> menu shown here can also be used for other functions.</p>
<p class="Paragraph"><help:key-word value="scanner commands; integrating" tag="kw68255_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="TWAIN drivers; integrating" tag="kw68255_2" xmlns:help="http://openoffice.org/2000/help"/><help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> modules include scanning menu commands that let you edit graphics. The commands work only if you have a TWAIN-compatible driver for your scanner or digital camera. The following explains how you can integrate scanning commands into the File menu of a text document.</p>
<p class="Paragraph">A TWAIN driver is usually integrated into the File menu. A new item called "Scan" should appear, as well as two subitems called "Select Source" and "Scan In". The dialogs and functions associated with these items are on the TWAIN driver; <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> only gives you access to them.</p>
<p class="P2">Click the <span class="T1">Menu</span> tab.</p>
</li>
<li class="">
<p class="P2">In the large list box, click the command into which you want to integrate the new scan command (e.g. "Last Version").</p>
</li>
<li class="">
<p class="P2">Click the <span class="T1">New Menu</span> button. A new item called "Menu" appears under the last selected item. The subordinate item appears as a dash.</p>
</li>
<li class="">
<p class="P2"><help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">Click the new entry ("Menu") twice</help:case><help:default>Right-click the new entry ("Menu")</help:default></help:switch> and enter the new name ("Scan").</p>
</li>
<li class="">
<p class="P2">Click the subordinate item (i.e. the dash). Any new menu item you define here is included as a submenu for scanning.</p>
</li>
<li class="">
<p class="P2">Select the "Insert" function in the left list box and the "Scan Source" function in the right list box.</p>
</li>
<li class="">
<p class="P2">Click <span class="T1">New</span>. The new menu command is inserted in the large list box.</p>
</li>
<li class="">
<p class="P2">Select the "Scan Request" function in the right list box and click <span class="T1">New</span>. This item is also inserted.</p>
</li>
<li class="">
<p class="P2">Click the dash and then <span class="T1">Delete</span> to remove it.</p>
</li>
<li class="">
<p class="P2">You can rename the two submenu items if you want<help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC"/><help:default> (by right-clicking the items)</help:default></help:switch>.</p>
</li>
<li class="">
<p class="P2">You can change the order of the items by moving the names to the large list box using Drag&Drop.</p>
</li>
<li class="">
<p class="P2">Click OK to close the <span class="T1">Configure</span> dialog. <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> automatically saves the changes.</p>
</li>
</ol>
<p class="Paragraph">The new menu items are now available.</p>